package com.sds.shop.action;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.sds.fw.mvc.Action;
import com.sds.fw.mvc.HttpUtil;
import com.sds.shop.dao.*;
import com.sds.shop.vo.CategoryVO;
import com.sds.shop.vo.MemVO;
import com.sds.shop.vo.OrderVO;
import com.sds.shop.vo.PaymentVO;
import com.sds.shop.vo.ProductVO;
import com.sds.shop.vo.SessionVO;

public class OrderConfirmAction extends Action {

	@Override
	public void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
		String ord_no = request.getParameter("ord_no");
		
		OrderDAO odao = OrderDAO.getInstance();
		odao.updateOrder(ord_no);
		
		HttpUtil.forward(request, response, "orderapp.do");
	}
}

